<?php
declare (strict_types = 1);

namespace app\admin\controller;

use think\facade\Db;
use think\facade\View;

class Index
{
    public function index()
    {
        return View::fetch();
    }
    public function info()
    {
        return View::fetch();
    }
    public function adv()
    {
        $arr = Db::table('ecm_banner')->select();

        return view('index/adv',[
            "list" => $arr
        ]);
    }

    public function pass(){
        return View::fetch();
    }


}
